home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / src / dcpp / save / DMakefile.next < prev    next >
Text File  |  1993-01-17  |  858b  |  36 lines

  1.  
  2. #   DMakefile.next
  3. #
  4. # (c)Copyright 1992 Obvious Implementations Corp, All Rights Reserved
  5. # CONFIDENTIAL, This is unpublished proprietary source code owned by Obvious Implementations Corp.
  6. # This material contains trade secrets of Obvious Implementations Corp.
  7.  
  8. OD= objs/
  9. EXE= ../bin/next/dcpp
  10. CFLAGS= -O2 -I$(OD) -I../c1 -I.. -L../suplib -DNO_ASM
  11. LFLAGS= -lamiga
  12. PROTOS= $(OD)protos.h
  13.  
  14. CCPSRCS= main.c sym.c include.c direct.c define.c cpp.c cexp.c subs.c precomp.c
  15. CCPOBJS = $(CCPSRCS:"*.c":"$(OD)*.o") $(CCPSRCS:"*.a":"$(OD)*.o")
  16.  
  17. all: $(OD) $(PROTOS) $(EXE)
  18.  
  19. $(EXE) : $(CCPOBJS)
  20.     cc %(right) -o %(left) $(CFLAGS) $(LFLAGS)
  21.     strip %(left)
  22.  
  23. $(CCPOBJS) : $(CCPSRCS)
  24.     cc %(right) -o %(left) -c $(CFLAGS)
  25.  
  26. $(PROTOS) : $(CCPSRCS)
  27.     rm -f %(left)
  28.     makeproto -o%(left) %(right)
  29.  
  30. clean:
  31.     rm -f $(CCPOBJS)
  32.  
  33. $(OD) : $(OD)
  34.     mkdir %(left:*/:*)
  35.  
  36.